package org.example.xxljob;

import org.example.Result;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author zengxiaoyu
 * @date 2025/9/15 14:53
 */
//@FeignClient(name = "xxl-job-service", url = "http://localhost:8005/job")


@org.springframework.cloud.openfeign.FeignClient(name = "xxl-job-service",
        path ="/job",
        fallbackFactory = XxlJobServiceApiFallback.class, url = "http://localhost:8005")
//@Tag(name = "RPC 服务 - 供应商-账户  信息")
public interface XxlJobServiceApi {


    @GetMapping("/allJobs")
    public Result<Object> allJobs();
}
